package com.empire.module.member.controller.admin.mappolygonlog.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.empire.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.empire.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 多边形操作日志分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class MapPolygonLogPageReqVO extends PageParam {

    @Schema(description = "多边形ID", example = "7148")
    private String polygonId;

    @Schema(description = "操作类型：1-创建，2-更新，3-删除", example = "1")
    private Integer operateType;

    @Schema(description = "操作内容（JSON格式存储变更详情）")
    private String content;

    @Schema(description = "操作人ID", example = "28013")
    private String operatorId;

    @Schema(description = "操作人名称", example = "张三")
    private String operatorName;

    @Schema(description = "操作时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] operateTime;

    @Schema(description = "操作IP地址")
    private String ip;

}